home *** CD-ROM | disk | FTP | other *** search
-
- IRIX 6.2 Device Driver Programming Guide
- Document Number 007-0911-060
-
- Table Of Contents
-
- This guide contains the following chapters and appendices.
- ALL FILES INCLUDED HERE ARE COMPRESSED PostScript FILES
- -------------------------------------------------------------
-
- * List of Examples (2 pages)
- * List of Figures (2 pages)
- * List of Tables (4 pages)
-
- * About This Guide (6 pages)
-
- PART ONE, "IRIX Device Integration" (2 pages)
-
- 1. Chapter 1, "Physical and Virtual Memory," (26 pages)
- An overview of physical memory, virtual address space management,
- and device addressing in Silicon Graphics/MIPS systems.
-
- 2. Chapter 2, "Device Configuration," (12 pages)
- How IRIX locates devices, and how devices are represented in
- software.
-
- 3. Chapter 3, "Device Control Software," (18 pages)
- A survey of the ways in which you can control devices under IRIX,
- from user-level processes and from kernel-level drivers of
- different kinds.
-
- PART TWO, "Device Control From Process Space" (2 pages)
-
- 4. Chapter 4, "User-Level Access to VME and EISA," (16 pages)
- How a user-level process can access and control devices on the VME
- and EISA buses.
-
- 5. Chapter 5, "User-Level Access to SCSI Devices," (36 pages)
- How a user-level process can execute commands and transfer data to
- a SCSI device.
-
- 6. Chapter 6, "Control of External Interrupts," (8 pages)
- How a user-level process creates or responds to external interrupt
- signals in the Challenge and Power Challenge systems.
-
- 7. Chapter 7, "User-Level Interrupts," (12 pages)
- How a user-level process can trap and respond to device interrupts
- with low latency and the fewest context switches.
-
- PART THREE, "Kernel-Level Drivers" (2 pages)
-
- 8. Chapter 8, "Structure of a Kernel-Level Driver," (44 pages)
- The software structure of a block or character device driver: the
- entry points it provides for kernel use, and how it communicates
- with user-level processes
-
- 9. Chapter 9, "Device Driver/Kernel Interfac," (46 pages)
- A topical survey of the facilities the IRIX kernel provides to
- device drivers.
-
- 10. Chapter 10, "Building and Installing a Driver," (18 pages)
- How a kernel-level driver is compiled, loaded, and linked with the
- IRIX kernel.
-
- 11. Chapter 11, "Testing and Debugging a Driver," (28 pages)
- How a kernel-level driver is tested and debugged using symmon and
- other facilities.
-
- 12. Chapter 12, "Driver Example," (24 pages)
- Annotated code of a simple memory-mapping device driver.
-
- PART FOUR, "VME Device Drivers" (2 pages)
-
- 13. Chapter 13, "VME Device Attachment," (28 pages)
- How the VME bus is configured in the Challenge and Power Challenge
- systems.
-
- 14. Chapter 14, "Services for VME Drivers," (24 pages)
- Kernel functions available specifically to VME device drivers.
-
- PART FIVE, "SCSI Device Drivers" (2 pages)
-
- 15. Chapter 15, "SCSI Device Drivers," (36 pages)
- Actual control of the SCSI bus is managed by one or more Host
- Adapter drivers. This chapter tells how SCSI device drivers use
- these facilities.
-
- PART SIX, "Network Drivers" (2 pages)
-
- 16. Chapter 16, "Network Device Drivers," (36 pages)
- Network device drivers are special in that they interface a device
- to the ifnet interface of the TCP/IP protocol stack.
-
- PART SEVEN, "EISA Drivers" (2 pages)
-
- 17. Chapter 17, "EISA Device Drivers," (82 pages)
- Overview of the architecture of the EISA bus attachment and the
- services offered by the kernel to EISA device drivers.
-
- PART EIGHT, "GIO Drivers" (2 pages)
-
- 18. Chapter 18, "GIO Device Drivers," (28 pages)
- Overview of the architecture of the GIO bus and the special
- services offered by the kernel to GIO drivers.
-
- PART NINE, "STREAMS Drivers" (2 pages)
-
- 19. Chapter 19, "STREAMS Drivers," (22 pages)
- How STREAMS drivers are integrated into the IRIX system.
-
- * Appendix A, "Silicon Graphics Driver/Kernel API," (18 pages)
- This appendix summarizes the Silicon Graphics Driver/Kernel
- Authorized Programming Interface in tabular form. The data
- structures, entry points, and kernel functions are listed
- alphabetically with with clickable links to discussions in this
- book and to their reference pages. The tables also show which
- functions and structures are compatible with SVR4 and which are
- unique to IRIX.
-
- * Appendix B, "Challenge DMA with Multiple IO4 Boards," (4 pages)
- In late 1995 a subtle hardware problem was identified in the IO4
- board that is the primary I/O interface subsystem to systems using
- the Challenge/Onyx architecture. The problem can be prevented with
- a software fix. The software fix is included in all device drivers
- distributed with IRIX 6.2 and a software patch is available for
- IRIX 5.3. However, some third-party device drivers also need to
- incorporate the sofware fix. This appendix explains the IO4
- problem as it affects device drivers produced outside Silicon
- Graphics.
-
- The issue in a nutshell: if you are responsible for a kernel-level
- device driver for a DMA device for the Challenge/Onyx
- architecture, you probably need to insert a function call in the
- driver interrupt handler.
-
- * Glossary, (14 pages)
-
- * Index, (14 pages)
- provides another set of entry points to the material in this
- manual.
-
- * Tech Pubs Wants To Hear From You, (2 pages)
-
- ----------------------------------------------------------------------------
- Copyright ⌐ 1996, Silicon Graphics, Inc.
-